package com.qjdchina.sku.biz;

import com.qjdchina.commons.model.PageModel;
import com.qjdchina.commons.result.Result;
import com.qjdchina.sku.model.vo.CaseStoreInfoVO;

import java.util.Map;

/**
 * Created by Luoyan on 2017/6/11.
 */
public interface CaseStoreInfoManager {

    /**
     * 获取案例库列表
     *
     * @param pageModel
     * @return
     */
    Result<PageModel<CaseStoreInfoVO>> queryPagedCaseStoreInfoList(Map<String, Object> params, PageModel<CaseStoreInfoVO>
            pageModel);

    /**
     * 获取案例库详情
     *
     * @param caseStoreInfoId
     * @return
     */
    Result<CaseStoreInfoVO> queryCaseStoreInfoVODetail(Integer caseStoreInfoId);

    /**
     * 新增案例库
     *
     * @param caseStoreInfoVO
     * @return
     */
    Result<Integer> createCaseStoreInfo(CaseStoreInfoVO caseStoreInfoVO);
}
